home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Alles Voor Internet / Tout Pour Internet
/
alles voor internet.iso
/
MacInternet™
/
Telnet
/
NCSA
/
tn3270 2.3d26 source
/
SPPC
/
makefile
< prev
next >
Wrap
Makefile
|
1991-05-28
|
2KB
|
72 lines
# SPPCInit makefile
# control variables
ObjDir = ":obj:"
RscDir = ":rsc:"
COpts = -r -b
DumpOpts = -d USEDUMP
AsmOpts =
AllDepend =
# AllDepend = makefile
DumpDepend = sppclib.h
GlobalDepend = {DumpDepend} sppcDumpFile
drvDumpDepend = drvlib.h
drvGlobalDepend = {drvDumpDepend} drvDumpFile
# object code rules:
{ObjDir}sppcinit.c.o ƒ {AllDepend} {GlobalDepend} sppcinit.c
C {COpts} {DumpOpts} sppcinit.c -o {ObjDir}sppcinit.c.o
{ObjDir}driver.c.o ƒ {AllDepend} {drvGlobalDepend} driver.c sppcinterface.h
C {COpts} {DumpOpts} driver.c -o {ObjDir}driver.c.o
{ObjDir}showinit.a.o ƒ {AllDepend} ShowINIT.a
Asm {AsmOpts} ShowINIT.a -o {ObjDir}showinit.a.o
# rules for creating resource files
{RscDir}icons ƒ {AllDepend} icons.r
Rez icons.r -o {RscDir}icons
# rules for creating dump files
sppcDumpFile ƒ makedump.c {DumpDepend}
Delete -i sppcDumpFile
C {COpts} makedump.c
Delete makedump.c.o
drvDumpFile ƒ drvdump.c {drvDumpDepend}
Delete -i drvDumpFile
C {COpts} drvdump.c
Delete drvdump.c.o
# rules for creating SPPCInit
SPPCInit ƒƒ {AllDepend} {ObjDir}sppcinit.c.o {ObjDir}showinit.a.o ∂
{RscDir}icons driver sppcinit.r version.r
Delete -i SPPCInit
Link -rt INIT=0 -t INIT -c 'SPPC'∂
-m sppcinit ∂
-sg SPPCInit ∂
{ObjDir}sppcinit.c.o {ObjDir}showinit.a.o ∂
-o SPPCInit -map -x sppcinit_xref -la > sppcinit.linkmap
Rez sppcinit.r -a -o SPPCInit
SetFile -a B SPPCInit
# rules for creating driver
driver ƒƒ {AllDepend} {ObjDir}driver.c.o driver.r
Delete -i driver.DRVW
Delete -i driver
Link -rt DRVW=0 ∂
-sg driver ∂
"{Libraries}"DRVRRuntime.o ∂
{ObjDir}driver.c.o ∂
"{CLibraries}"StdClib.o ∂
"{Libraries}"Interface.o ∂
-o driver.DRVW -map -x driver_xref -la > driver.linkmap
Rez driver.r -o driver
Delete -i driver.DRVW